package com.woniu.mapper;

import com.woniu.entity.RelUesrGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author nanqiao
* @description 针对表【rel_uesr_group】的数据库操作Mapper
* @createDate 2025-06-13 14:30:17
* @Entity com.woniu.entity.RelUesrGroup
*/
@Mapper
public interface RelUesrGroupMapper extends BaseMapper<RelUesrGroup> {

    List<RelUesrGroup> selectByGroupId(Integer groupId);

    List<RelUesrGroup> getRelUesrGroupsByGroupIds(@Param("groupIds") List<Integer> groupIds);
//    按用户ID批量查询方法
    List<RelUesrGroup> selectByUserIds(@Param("userIds") List<Integer> userIds);

}




